import fileOperation
import midPack
# from fileOperation import *


class ASTF(fileOperation.ASTF_Format):
    def __init__(self, *args):
        super().__init__(*args)

    def LoadMidi(self, midPath):
        midPack.loadMid(midPath, self)


if __name__ == '__main__':
    AA = ASTF("Test.astf")
    AA.LoadMidi(r"C:\Users\lc\Documents\MuseScore3\乐谱\乐谱\同道殊途.mid")
    AA.SettingsSaver()
